package com.WebProject.service.AdminDao;

import com.WebProject.pojo.*;

import java.util.ArrayList;

/**
 * @PACKAGE_NAME: com.WebProject.service.AdminDao.UserDao
 * @NAME: AadminServiceDao
 * @USER: ZhouYongCheng
 * @DATE: 2022/7/29
 * @TIME: 17:14
 * @Description: Admin serviceDao层
 */
public interface AadminServiceDao {

    //查询指定汽车信息

    public t_car queryAppointCarInfo(String car_number);

    //修改指定汽车信息

    public Boolean updateAppointCarInfo(t_car car);

    //删除汽车

    public Boolean deleteAppointCar(String car_number);

    //查看指定用户租借记录信息

    public ArrayList<t_car_zu> queryAppointUserInfo(Integer user_id);

    //查看全部租借记录

    public ArrayList<t_car_zu> queryAppointAllCarInfo();

    //添加汽车

    public Boolean addCar(t_car car);

    //查询所有汽车
    public ArrayList<t_car> QueryAllCarInfo();

    //所有品牌
    public ArrayList<t_brand> QueryAllBrandInfo();

    //查询所有型号
    public ArrayList<t_category> QueryAllCategoryInfo();


}
